package start.aai.mapper;

import start.aai.entity.DTO.MessageDTO;
import start.aai.entity.Messages;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author 27465
* @description 针对表【messages】的数据库操作Mapper
* @createDate 2025-07-09 14:49:56
* @Entity start.aai.entity.Messages
*/
public interface MessagesMapper extends BaseMapper<Messages> {
    int saveMessage(MessageDTO messagedto);

    List<Messages> getHistory(Integer conversationId);
}




